package com.axdoc.wallet.entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 消息实体
 * @author liyanhui
 *
 */
public class MqRecords implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6051416691147091605L;
	/**
	 * 主键id
	 */
	private int id;
	/**
	 * 消息类型
	 */
	private String msgType;
	/**
	 * 消息内容
	 */
	private String msgValue;
	/**
	 * 消息来源
	 */
	private String msgFrom;
	/**
	 * 消息内容hash
	 */
	private Integer hashCode;
	/**
	 * 唯一id
	 */
	private String uniqueId;
	/**
	 * 消息状态 0未消费/1已消费
	 */
	private Integer state;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMsgType() {
		return msgType;
	}
	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}
	public String getMsgValue() {
		return msgValue;
	}
	public void setMsgValue(String msgValue) {
		this.msgValue = msgValue;
	}
	public Integer getHashCode() {
		return hashCode;
	}
	public void setHashCode(Integer hashCode) {
		this.hashCode = hashCode;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getMsgFrom() {
		return msgFrom;
	}
	public void setMsgFrom(String msgFrom) {
		this.msgFrom = msgFrom;
	}
	public String getUniqueId() {
		return uniqueId;
	}
	public void setUniqueId(String uniqueId) {
		this.uniqueId = uniqueId;
	}
}
